/*
 * @Author: 273198238 '2412069378@qq.com'
 * @Date: 2025-03-12 15:07:35
 * @LastEditors: 273198238 '2412069378@qq.com'
 * @LastEditTime: 2025-03-13 16:09:35
 * @FilePath: \vue-managed\src\router\index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
/*
 * @Author: 273198238 '2412069378@qq.com'
 * @Date: 2025-03-12 15:07:35
 * @LastEditors: 273198238 '2412069378@qq.com'
 * @LastEditTime: 2025-03-12 18:29:32
 * @FilePath: \vue-managed\src\router\index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import Vue from "vue";
import VueRouter from "vue-router";


Vue.use(VueRouter);

const routes = [
  {
    path: "/",
    name: "home",
    component: () => import("../views/HomeView.vue"),
  },
  {
    path: "/home",
    name: "home",
    component: () => import("../views/HomeView.vue"),
  },
  {
    path: "/self",
    name: "self",
    component: () => import("../views/Self.vue"),
  },
  {
    path: "/mycourse",
    name: "mycourse",
    component: () => import("../views/MyCourse.vue"),
  },
  {
    path: "/score",
    name: "score",
    component: () => import("../views/Score.vue"),
  },
  {
    path: "/timetable",
    name: "timetable",
    component: () => import("../views/TimeTable.vue"),
  },
  {
    path: "/slot",
    name: "slot",
    component: () => import("../views/Slot.vue"),
  }
  
];

const router = new VueRouter({
  mode: "history",
  base: process.env.BASE_URL,
  routes,
});

export default router;
